package com.dhnsoft.boot3.starter.robot.service;

//import com.dhnsoft.boot.core.robot.properties.RobotProperties;
import com.dhnsoft.boot3.starter.robot.properties.RobotProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author dhn
 * @version 1.0
 * @date 2023-09-10 20:07
 * @Desc
 */
@Service
public class RobotService {
    @Autowired
    RobotProperties robotProperties;

    public String sayHello(){
        return "你好：名字:["+robotProperties.getName()+"],年龄:["+robotProperties.getAge()+"]";
    }
}
